package com.briup.oagg.dataset.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.common.StringUtil;
import com.briup.framework.utils.execption.BriupAssert;
import com.briup.framework.utils.web.ResponseCode;
import com.briup.oagg.dataset.bean.basic.Trap;
import com.briup.oagg.dataset.bean.basic.Zone;
import com.briup.oagg.dataset.mapper.basic.ZoneMapper;
import com.briup.oagg.dataset.service.ITrapService;
import com.briup.oagg.dataset.service.IZoneService;
import com.briup.oagg.dataset.web.vm.ZoneAddVM;
import com.briup.oagg.dataset.web.vm.ZoneUpdateVM;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.stream.Collectors;

import static com.briup.framework.utils.web.ResponseCode.NAME_EXISTED;

/**
 * 区带信息业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class ZoneServiceImpl extends ServiceImpl<ZoneMapper, Zone> implements IZoneService {
    @Override
    public void addZone(ZoneAddVM vm) {

    }

    @Override
    public void updateZone(ZoneUpdateVM vm) {

    }

    @Override
    public void deleteById(String zoneId) {

    }

    @Override
    public Page<Zone> findByPage(String basinId, Integer pageNum, Integer pageSize) {
        return null;
    }

    @Override
    public int countNum() {
        return 0;
    }
}